import * as Cesium from '@cesium/Source/Cesium.js';
import {GlobeRotater} from "./rotater";

function updateGlobeByOptions(globe, opts) {
  opts = opts || {};
  if (globe) {
    for (let k in opts) {
      globe.hasOwnProperty(k) && (globe[k] = opts[k])
    }
  }
}

const utils = {updateGlobeByOptions}

export default utils;

export {utils,GlobeRotater};
